package com.dalin.demo.service;

import com.dalin.demo.pojo.entity.Class;
import com.dalin.demo.pojo.entity.Student;
import com.dalin.demo.pojo.entity.StudentClass;
import com.dalin.demo.pojo.entity.StudentCourse;

import java.util.List;
import java.util.Map;

public interface ClassService {
    List<Class> listClassByParams(Map<String, Object> params);
    Integer addClass(Class class1);
    Integer updateClass(Class class1);
    Integer deleteClass(int id);
    void batchAddClass(List<StudentClass> studentClasses);
    List<StudentClass> getEnrolledStudentsByCourseId(Long classId);
    Integer deleteStudent(int id);
}